SWAB

Section: C Library Functions (3)
Index Return to Main Contents

BSD mandoc
 

NAME

swab - swap adjacent bytes  

SYNOPSIS

Fd #include <string.h> Ft void Fn swab const void *src void *dst size_t len  

DESCRIPTION

The function Fn swab copies Fa len bytes from the location referenced by Fa src to the location referenced by Fa dst , swapping adjacent bytes.

The argument Fa len must be even number.  

SEE ALSO

bzero(3), memset(3)  

HISTORY

A Fn swab function appeared in AT&T System v7 .


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
HISTORY

This document was created by man2html, using the manual pages.
Time: 19:42:02 GMT, December 25, 2022